<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<?php $this->load->view('common/head');?>

<?php $this->load->view('common/header');?>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <?php $this->load->view('common/sidebar');?>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <?php $this->load->view('common/breadcrumbs');?>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">

                <?php $this->load->view('common/set');?>

                <!-- /section:settings.box -->
                <div class="row">
                        <div class="ng-scope infobox infobox-green" style="margin-left: 50px;">
                            <div  class="infobox-icon ng-scope">
                                <i class="ace-icon fa fa-twitter"></i>
                            </div>
                            <div class="infobox-data ng-scope">
                                <span  class="infobox-data-number ng-binding ng-scope" ">8</span>
                                <div  class="infobox-content ng-binding ng-scope"  >
                                   我的产品
                                </div>
                            </div>
                       </div>
                        <div class="ng-scope infobox infobox-pink" style="margin-left: 50px;">
                            <div  class="infobox-icon ng-scope">
                                <i class="ace-icon fa fa-shopping-cart"></i>
                            </div>
                            <div class="infobox-data ng-scope">
                                <span  class="infobox-data-number ng-binding ng-scope" ">8</span>
                                <div  class="infobox-content ng-binding ng-scope"  >
                                    我的订单
                                </div>
                            </div>
                        </div>
                        <div class="ng-scope infobox infobox-blue" style="margin-left: 50px;">
                            <div  class="infobox-icon ng-scope">
                                <i class="ace-icon fa fa-flask"></i>
                            </div>
                            <div class="infobox-data ng-scope">
                                <span  class="infobox-data-number ng-binding ng-scope" ">8</span>
                                <div  class="infobox-content ng-binding ng-scope"  >
                                    我的额度
                                </div>
                            </div>
                        </div>
                        <div class="ng-scope infobox infobox-red" style="margin-left: 50px;">
                            <div  class="infobox-icon ng-scope">
                                <i class="ace-icon fa fa-bell icon-animated-bell"></i>
                            </div>
                            <div class="infobox-data ng-scope">
                                <span  class="infobox-data-number ng-binding ng-scope" ">8</span>
                                <div  class="infobox-content ng-binding ng-scope"  >
                                    我的余额
                                </div>
                            </div>
                        </div>
                    <br>
                    <hr>
                    <div class="col-xs-12">

                        </div>
                        <table class="table table-striped table-bordered">
                            <thead>
                            <tr>
                                <th class="center">#</th>
                                <th>用户</th>
                                <th>时间</th>
                                <th>IP</th>
                                <th class="col-xs-7">日志内容</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php if($logs){ ?>
                                <?php foreach ($logs as $key => $val) {?>
                                <tr>
                                    <td class="center">
                                        <input class="uids" type="checkbox" name="uids[]" >
                                    </td>
                                    <td><?php echo $val['uid'];?></td>
                                    <td><?php echo date("Y-m-d H:i",$val['t']);?></td>
                                    <td><?php echo $val['ip'];?></td>
                                    <td><?php echo $val['log'];?></td>
                                </tr>
                                <?php } ?>
                            <?php } ?>
                            </tbody>
                        </table>
<!--                        {$page}-->
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
       
    </div><!-- /.main-content -->

<?php $this->load->view('common/footer');?>
</div><!-- /.main-container -->

<?php $this->load->view('common/footerjs');?>
<!-- inline scripts related to this page -->
<script type="text/javascript">
    $(function () {

        $("#officialnews ul").html('<div class="ace-icon fa fa-spinner fa-spin orange"></div>');

    })

</script>
</body>
</html>
